Skip to content

Add PostgreSQL 18 support#1111

Closed
jhf wants to merge 2 commits into
hapostgres:mainfrom
veridit:pg18-support-clean
Closed

Add PostgreSQL 18 support#1111
jhf wants to merge 2 commits into
hapostgres:mainfrom
veridit:pg18-support-clean

Conversation

@jhf

@jhf jhf commented Feb 4, 2026

Copy link
Copy Markdown

Summary

  • Add PostgreSQL 18 to the compatibility version string in pg_autoctl --version
  • Enable PG18 Docker builds using Citus commit 803f0ac from release-14.0 branch
  • Add libnuma-dev dependency required by PostgreSQL 18

Test plan

  • Single standby tests pass (88 tests)
  • Multi-standby tests pass (101 tests)
  • pg_autoctl --version shows "compatible with Postgres 13, 14, 15, 16, 17 and 18"
$ ./src/bin/pg_autoctl/pg_autoctl --version
pg_autoctl version ...
pg_autoctl extension version 2.2
compiled with PostgreSQL 18.1
compatible with Postgres 13, 14, 15, 16, 17 and 18

🤖 Generated with Claude Code

jhf and others added 2 commits February 5, 2026 00:25
Update the hardcoded version compatibility message to include
PostgreSQL 18.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use Citus commit 803f0ac from release-14.0 branch (PG18 support)
- Add libnuma-dev dependency required by PostgreSQL 18

Tested: single and multi standby tests pass (189 tests total)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dimitri

dimitri commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Thank you @jhf for the clean, well-tested PR — the version-string update, Citus commit pin, and libnuma-dev addition were exactly right and this work served as an important reference point.

#1144 (merged 2026-07-15) supersedes this PR. It incorporates the same PG18 compatibility fixes, adds PG19 support, includes the required Citus version alignment (v14.1.0 for PG18), and extends the CI matrix to cover PG 14–19 with build, installcheck, pgaftest, and pytest jobs for all versions.

Closing in favour of #1144 — your contribution is appreciated!

@dimitri dimitri closed this Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants